<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./增删查改.css">
    <script src="./js/jquery-1.12.4.js"></script>
    <title>Document</title>
</head>
<body>
    <div class="box">
        <ul>
            <li>姓名</li>
            <li>年龄</li>
            <li>手机号</li>
            <li>邮箱</li>
            <li>性别</li>
            <li><button>增加</button></li>
        </ul>
        
        <ul id="aa" class="bb">
            <li><input type="text"></li>
            <li><select  id="">
                <option value="0">男</option>
                <option value="1">女</option>
            </select></li>
            <li><input type="text"></li>
            <li><input type="text"></li>
            <li><input type="text"></li>
            <li><button>完成</button></li>
        </ul>
    </div>
    <div id="asd">
        
    </div>
    <script>
        var jjs=[]
        function sjz(){
            var str="";
            for(var i = 0 ;i<jjs.length;i++){
                if(!jjs[i].delete){str += "<ul><li>"+ jjs[i].name +"</li><li>"+ getSex(jjs[i].sex) +"</li><li>"+jjs[i].phone+"</li><li>"+data[i].mail+"</li><li><button onclick='upDate( "+ jjs[i].id +" )'>修改</button><button onclick='del( "+ jjs[i].id +" )'>删除</button></li></ul>"

                }
            }
            document.getElementById("asd").innerHTML = jjs;
        }
    
    </script>
</body>
</html>